﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HerGoS.Administration.Entities.Interfaces;
using HerGoS.Administration.Entities;

namespace HerGoS.Administration.Engine
{
    public static class PaisLazyLoadExtensionMethod
    {
        public static void GetPais(this IPais p)
        {
            if (p.idPais != null)
            {
                Pais pais = GestorPaises.Obtener(p.idPais);
                p.Nacionalidad = pais;
            }
        }

    }
}
